package com.example.live.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.live.R
import com.example.live.entity.RobEntity

class RobAdapter: BaseQuickAdapter<RobEntity, BaseViewHolder>(R.layout.item_rob) {
    override fun convert(holder: BaseViewHolder, item: RobEntity) {
        holder.setText(R.id.num,item.num.toString())
        holder.setText(R.id.name,item.name)
    }
}